import bcrypt from 'bcryptjs'

const CLIENT_SALT = '$2a$10$bNVbgiLkyewJT8IOaQY0Zu'

export async function passwordClientBcrypt (password) {
  const hash = await bcrypt.hash(password, CLIENT_SALT)
  return hash.toString()
}
